package cn.sciento.farm.devicemanager.service;

import cn.sciento.farm.devicemanager.dao.entity.DevInsectSituationLamp;

import java.util.List;

/**
 * 虫情灯 Service 接口
 * @author Walton
 * @since 2020/8/18 18:35
 */
public interface DevInsectSituationLampService {

    int insert(DevInsectSituationLamp devInsectSituationLamp);

    List<DevInsectSituationLamp> getByEuiAndModbusAddr(String eui, Integer modbusAddr);

    DevInsectSituationLamp getById(long id);

    int update(DevInsectSituationLamp insectLamp);

    int deleteById(long id);

    List<DevInsectSituationLamp> getByAreaId(Integer areaId);
}
